using System;
using System.Collections;
using System.Collections.Generic;
using System.Xml.Serialization;

using QLTDK.Entities.Base;

namespace QLTDK.Entities.BaseObjects
{
    public class BaseTdkLoaicaptdk : EntityObject<int>
    {
        #region Declarations

		private string thietDien = null;
		private string tenLoaiCapTDK = null;
		
		
		private IList<TdkCaptdk> tdkCaptdks = new List<TdkCaptdk>();
		
		#endregion

        #region Constructors

		/// <summary>
        /// Since we want to leverage automatic properties, init appropriate members here.
        /// </summary>
		private void InitMembers()
		{
			TdkCaptdks = new List<TdkCaptdk>();
		}
		
		/// <summary>
        /// Creates valid entity object
        /// </summary>
		public BaseTdkLoaicaptdk() 
		{ 
			InitMembers();
		}
		
        #endregion

        #region Properties

		[DomainSignature]
		public virtual string ThietDien
        {
            get { return thietDien; }
			set
			{
				thietDien = value;
			}
        }

		[DomainSignature]
		public virtual string TenLoaiCapTDK
        {
            get { return tenLoaiCapTDK; }
			set
			{
				tenLoaiCapTDK = value;
			}
        }

		[XmlIgnore]
		public virtual IList<TdkCaptdk> TdkCaptdks
        {
            get { return tdkCaptdks; }
            protected set
			{
				tdkCaptdks = value;
			}
        }
		
        #endregion
    }
}